*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #f4f4f4;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.content{
    width: 80vw;
    height: 500px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 0 10px #ccc;
}
.btns{
    width: 100%;
    height: 40px;
    /* background-color: skyblue; */
    margin-top: 8px;
}
.btns>ul{
    display: flex;
    list-style: none;
    height: 100%;
}
.btns>ul>li{
    display: block;
    height: 100%;
    width: 60px;
    border: 1px solid rgb(233, 90, 68);
    margin: 0 10px;
    /* color: white; */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: rgb(233, 90, 68);
}
.btns>ul>li:hover{
    color: #fff;
    background-color:  rgb(233, 90, 68);
}
.btns>ul>li.active{
    color: #fff;
    background-color:  rgb(233, 90, 68);
    
}
.imgs{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}
.divs{
    width: 150px;
    height: 200px;
}
.PIC{
    width: 150px;
    height: 220px;
    /* margin: 5px 10px; */
    transition: all .5s ease-in-out;
    /* position: relative; */
}
/* .PIC:hover{
    transform: scale(1.2);
} */
.rest{
    width: 150px;
    height: 220px;
    position: relative;
    margin: 5px 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
.rest:hover .PIC{
    transform: scale(1.2);
}
.rest:hover .bg{
    z-index: 1;
}

.bg{
    width: 150px;
    height: 220px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #fff;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .2);
    /* opacity: 0; */
    z-index: -1;
    transition: .5s ease-in-out all;
}
.bg:hover{
    z-index: 1;
    transform: scale(1.2);
    opacity: 1;
}

.datail{
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
.centerImg{
    /* width: 400px;
    height: 600px; */
    background-color: rosybrown;
}
.out{
    position: absolute;
    top: 50px;
    right: 50px;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 35px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.out:hover{
    cursor: pointer;
    background-color: #fff;
    color: #000;
    border: #000;
}
.left{
    position: absolute;
    top: 50%;
    left: 20px;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 35px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.left:hover{
    cursor: pointer;
    background-color: #fff;
    color: #000;
    border: #000;
}
.right{
    position: absolute;
    top: 50%;
    right: 20px;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 35px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.right:hover{
    cursor: pointer;
    background-color: #fff;
    color: #000;
    border: #000;
}
.show{
    display: flex;
}
.annimate{
    width: 80vw;
    height: 30px;
    background-color: #3498db;
    position: absolute;
    bottom: 40px;
    opacity: 0;
}
.do{
    opacity: 1;
    animation-name: right;
    animation-duration: .5s;
    animation-iteration-count: 1;
}
@keyframes right{
    50%{
        width: 40vw;
        background-color: #e74c3c;
    }
    to{
        width: 80vw;
        background-color: #2ecc71;
    }
}